package com.sftz.assets.enums;

import com.uxuexi.core.common.enums.IEnum;

/**
 * 学历类型
 * @author 郝振斌
 *
 */
public enum EducationEnum implements IEnum {
	
	HIGH(1, "高中"), JUNIOR(2, "专科"), REGULAR(3, "本科"), MASTER(4, "硕士"), DOCTOR(5, "博士"),ELSE(6, "其他"),;
	private int key;
	private String value;

	private EducationEnum(final int key, final String value) {
		this.value = value;
		this.key = key;
	}

	@Override
	public String key() {
		return String.valueOf(key);
	}

	@Override
	public String value() {
		return value;
	}

	public int intKey() {
		return key;
	}
}
